PaymentPlugins\WooCommerce\PPCP\Admin\Settings\APISettings S

Total Complexity 34
Dependencies 4
Dependents 12
Total lines 430
Lines of code 396
Logical lines of code 83
Comment lines 9
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
init_form_fields()
A
28
5 194
generate_connect_link()
A
40 5 68
process_admin_options()
S
59 5 14
generate_paypal_button_html()
S
50 3 29
generate_webhook_button_html()
S
48 1 38
admin_options()
S
69 3 6
get_client_id()
S
74 2 4
is_connected()
S
67 2 7
get_settings_script_data()
S
61 1 13
__construct()
S
75 1 4
get_admin_script_dependencies()
S
76 1 4
get_environment()
S
80 1 3
get_webhook_id()
S
78 1 3
set_webhook_id()
S
79 1 3
debug_webhook_enabled()
S
79 1 3
debug_payment_enabled()
S
79 1 3